package sh.wn36.vehiclemanage.entity.entity_cjl;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="违章记录对象", description="")
public class Violation implements Serializable {

    private static final long serialVersionUID = 1L;
    private Integer id;

    private String carNo;

    private String name;

    private String text;

    @JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8")
    private Date pecDate;

    private Double fine;

    private Integer points;

    private String pecPlace;

    private String remarks;
}
